a11y: Don't present HIDDEN accessibles
authorMatthias Clasen <mclasen@redhat.com>
Sat, 24 Oct 2020 14:32:24 +0000 (10:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 24 Oct 2020 15:17:56 +0000 (11:17 -0400)
commit374a451eeb6e8791fd131862082e742143579b63
tree6168298337a0de106875d52017bf730c78c4ce3f
parent1e13acb206eed23468496f831f3e584890536c7a
a11y: Don't present HIDDEN accessibles

The ARIA spec is clear on this: when an element has the
HIDDEN state, it should not be presented in the accessible
tree.

This change is incomplete, we also need to emit child-added/
removed signals when the state changes, but that needs to
wait for the child added infrastructure to land.
gtk/gtkaccessible.c